home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / lotus / lotus028.dsk / 006.LSS < prev    next >
Text File  |  1995-10-19  |  2KB  |  62 lines

  1. Use "am_mod"
  2.  
  3. Sub Initialize
  4.    ClientMainWinClass = "WordProAppWndNT"
  5.    ClientID = AN_AMIPRO
  6.    ClientModName = "am_mod"
  7.    ClientLotusAppID = "WORDPRO"
  8.    ShowMeModName = "006"
  9.    AnimVersionNum =  .63 
  10.    NumFramesThisAnim =  5 
  11.    AnimationType = "QuickDemo"
  12.    SampleFile = "la1n70??.lwp"
  13.    AnimName = GetString( "0060000", IResult% )
  14. End Sub
  15.  
  16. Public Sub ShowMe (theNextStep As Integer)
  17.  
  18. GetCursorPos TempPos
  19. CursorPosForStep(theNextStep) = TempPos
  20.  
  21. Select Case theNextStep
  22.  
  23. Case  1 
  24.    X = RunScriptCommand (".GoToBookMark ""italicize""", ClientID, DeskwHdl.val )
  25.    Exit Sub
  26.  
  27. Case  2 
  28.    StepsText = GetString( "0061001", IResult% )
  29.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  30.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  31.    HideTextBubble
  32.    MoveToObj Center
  33.    Exit Sub
  34.  
  35. Case  3 
  36.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  37.    SendCtrlKeys  "+{RIGHT 3}", 100
  38.    Exit Sub
  39.  
  40. Case  4 
  41.    StepsText = GetString( "0061002", IResult% )
  42.    X = DoWhereIs (0,"",STATUS_BAR_ITALIC,0,0,0,AN_STATUSBAR)
  43.    If X <> 0 Then
  44.         Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", ClientID, DeskwHdl.val )
  45.         X = DoWhereIs (0,"",STATUS_BAR_ITALIC,0,0,0,AN_STATUSBAR)
  46.    End If
  47.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  48.    HideTextBubble
  49.    MoveToObj Center
  50.    DoMouse WM_LBUTTONDOWN%, 0
  51.    DoMouse WM_LBUTTONUP%, 0
  52.    Exit Sub
  53.  
  54. Case  5 
  55.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  56.    MoveToObj Center
  57.    DoMouse WM_LBUTTONDOWN%, 0
  58.    DoMouse WM_LBUTTONUP%, 0
  59.    Exit Sub
  60. End Select
  61. End Sub
  62.